/* A Bison parser, made from parser.y
   by GNU bison 1.35.  */

#define YYBISON 1  /* Identify Bison output.  */

# define	AND_SY	257
# define	ASM_SY	258
# define	ASSIGNMINUS_SY	259
# define	ASSIGNMOD_SY	260
# define	ASSIGNPLUS_SY	261
# define	ASSIGNSLASH_SY	262
# define	ASSIGNSTAR_SY	263
# define	BOOLEAN_SY	264
# define	BREAK_SY	265
# define	CASE_SY	266
# define	CFLOATCONST_SY	267
# define	COLONCOLON_SY	268
# define	CONST_SY	269
# define	CONTINUE_SY	270
# define	DEFAULT_SY	271
# define	DISCARD_SY	272
# define	DO_SY	273
# define	EQ_SY	274
# define	ELSE_SY	275
# define	ERROR_SY	276
# define	EXTERN_SY	277
# define	FLOAT_SY	278
# define	FLOATCONST_SY	279
# define	FLOATHCONST_SY	280
# define	FLOATXCONST_SY	281
# define	FOR_SY	282
# define	GE_SY	283
# define	GG_SY	284
# define	GOTO_SY	285
# define	IDENT_SY	286
# define	IF_SY	287
# define	IN_SY	288
# define	INLINE_SY	289
# define	INOUT_SY	290
# define	INT_SY	291
# define	INTCONST_SY	292
# define	INTERNAL_SY	293
# define	LE_SY	294
# define	LL_SY	295
# define	MINUSMINUS_SY	296
# define	NE_SY	297
# define	OR_SY	298
# define	OUT_SY	299
# define	PACKED_SY	300
# define	PLUSPLUS_SY	301
# define	RETURN_SY	302
# define	STATIC_SY	303
# define	STRCONST_SY	304
# define	STRUCT_SY	305
# define	SWITCH_SY	306
# define	TEXOBJ_SY	307
# define	THIS_SY	308
# define	TYPEDEF_SY	309
# define	TYPEIDENT_SY	310
# define	UNIFORM_SY	311
# define	VARYING_SY	312
# define	VOID_SY	313
# define	WHILE_SY	314
# define	FIRST_USER_TOKEN_SY	315

#line 1 "parser.y"

/****************************************************************************\
Copyright (c) 2002, NVIDIA Corporation.

NVIDIA Corporation("NVIDIA") supplies this software to you in
consideration of your agreement to the following terms, and your use,
installation, modification or redistribution of this NVIDIA software
constitutes acceptance of these terms.  If you do not agree with these
terms, please do not use, install, modify or redistribute this NVIDIA
software.

In consideration of your agreement to abide by the following terms, and
subject to these terms, NVIDIA grants you a personal, non-exclusive
license, under NVIDIA's copyrights in this original NVIDIA software (the
"NVIDIA Software"), to use, reproduce, modify and redistribute the
NVIDIA Software, with or without modifications, in source and/or binary
forms; provided that if you redistribute the NVIDIA Software, you must
retain the copyright notice of NVIDIA, this notice and the following
text and disclaimers in all such redistributions of the NVIDIA Software.
Neither the name, trademarks, service marks nor logos of NVIDIA
Corporation may be used to endorse or promote products derived from the
NVIDIA Software without specific prior written permission from NVIDIA.
Except as expressly stated in this notice, no other rights or licenses
express or implied, are granted by NVIDIA herein, including but not
limited to any patent rights that may be infringed by your derivative
works or by other works in which the NVIDIA Software may be
incorporated. No hardware is licensed hereunder. 

THE NVIDIA SOFTWARE IS BEING PROVIDED ON AN "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, WARRANTIES OR CONDITIONS OF TITLE,
NON-INFRINGEMENT, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
ITS USE AND OPERATION EITHER ALONE OR IN COMBINATION WITH OTHER
PRODUCTS.

IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT,
INCIDENTAL, EXEMPLARY, CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, LOST PROFITS; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) OR ARISING IN ANY WAY
OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE
NVIDIA SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT,
TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\****************************************************************************/

#include <stdio.h>
#include <stdlib.h>

#define NO_PARSER 1
#include "slglobals.h"


#line 56 "parser.y"
#ifndef YYSTYPE
typedef union {
    int    sc_token;
    int    sc_int;
    float  sc_fval;
    int    sc_ident;
    spec   sc_specifiers;
    dtype  sc_type;
    Type   *sc_ptype;
    decl   *sc_decl;
    expr   *sc_expr;
    symb   *sc_symb;
    stmt   *sc_stmt;
    /* Dummy palce holder: */
    int    dummy;
} yystype;
# define YYSTYPE yystype
# define YYSTYPE_IS_TRIVIAL 1
#endif
#ifndef YYDEBUG
# define YYDEBUG 0
#endif



#define	YYFINAL		330
#define	YYFLAG		-32768
#define	YYNTBASE	86

/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */
#define YYTRANSLATE(x) ((unsigned)(x) <= 315 ? yytranslate[x] : 174)

/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */
static const char yytranslate[] =
{
       0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,    77,     2,     2,     2,    81,    82,     2,
      72,    71,    79,    75,    63,    76,    74,    80,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,    66,    62,
      67,    64,    68,    85,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,    69,     2,    70,    83,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,    73,    84,    65,    78,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
       2,     2,     2,     2,     2,     2,     1,     3,     4,     5,
       6,     7,     8,     9,    10,    11,    12,    13,    14,    15,
      16,    17,    18,    19,    20,    21,    22,    23,    24,    25,
      26,    27,    28,    29,    30,    31,    32,    33,    34,    35,
      36,    37,    38,    39,    40,    41,    42,    43,    44,    45,
      46,    47,    48,    49,    50,    51,    52,    53,    54,    55,
      56,    57,    58,    59,    60,    61
};

#if YYDEBUG
static const short yyprhs[] =
{
       0,     0,     2,     5,     7,     9,    12,    16,    19,    22,
      24,    27,    29,    32,    35,    38,    41,    44,    47,    49,
      52,    55,    58,    61,    64,    67,    69,    73,    75,    79,
      81,    83,    85,    87,    89,    91,    93,    95,    97,    99,
     101,   103,   105,   107,   109,   111,   113,   118,   123,   125,
     127,   130,   135,   137,   139,   141,   143,   146,   148,   149,
     154,   155,   158,   160,   163,   165,   169,   171,   176,   180,
     184,   188,   191,   192,   197,   201,   203,   207,   210,   215,
     216,   218,   220,   224,   226,   230,   235,   237,   241,   243,
     247,   249,   251,   253,   257,   262,   264,   267,   270,   274,
     279,   284,   285,   287,   289,   293,   295,   299,   301,   304,
     307,   310,   313,   316,   319,   321,   326,   328,   332,   336,
     340,   342,   346,   350,   352,   356,   360,   362,   366,   370,
     374,   378,   380,   384,   388,   390,   394,   396,   400,   402,
     406,   408,   412,   414,   418,   420,   426,   428,   430,   434,
     437,   441,   443,   445,   447,   449,   451,   453,   455,   457,
     459,   461,   464,   468,   473,   476,   481,   486,   490,   493,
     495,   497,   499,   502,   504,   506,   509,   511,   515,   517,
     521,   525,   529,   533,   537,   543,   551,   561,   567,   577,
     579,   581,   582,   584,   588,   590,   591,   595,   598,   600,
     602,   604,   606,   608,   610,   612,   614,   616,   618
};
static const short yyrhs[] =
{
      87,     0,    86,    87,     0,    88,     0,   144,     0,    90,
      62,     0,    90,    93,    62,     0,    22,    62,     0,    91,
     115,     0,    91,     0,    55,    91,     0,    92,     0,    96,
      91,     0,    98,    91,     0,    97,    91,     0,   100,    91,
       0,    99,    91,     0,    46,    91,     0,    95,     0,    92,
      96,     0,    92,    98,     0,    92,    97,     0,    92,   100,
       0,    92,    99,     0,    92,    46,     0,    94,     0,    93,
      63,    94,     0,   111,     0,   111,    64,   120,     0,    37,
       0,    24,     0,    59,     0,    10,     0,    53,     0,   101,
       0,   170,     0,     1,     0,    15,     0,    57,     0,    49,
       0,    23,     0,    35,     0,    39,     0,    34,     0,    45,
       0,    36,     0,   103,   102,   106,    65,     0,   105,   102,
     106,    65,     0,   103,     0,   154,     0,    51,   104,     0,
      51,   104,    66,   169,     0,   172,     0,   170,     0,    51,
       0,   107,     0,   106,   107,     0,    88,     0,     0,    67,
     109,   110,    68,     0,     0,   110,    88,     0,   112,     0,
     112,   108,     0,   113,     0,   113,    66,   169,     0,   172,
       0,   113,    69,    38,    70,     0,   113,    69,    70,     0,
     114,   116,    71,     0,   114,   118,    71,     0,   113,    72,
       0,     0,   115,    69,    38,    70,     0,   115,    69,    70,
       0,   117,     0,   116,    63,   117,     0,    90,   111,     0,
      90,   111,    64,   120,     0,     0,   119,     0,    89,     0,
     119,    63,    89,     0,   143,     0,    73,   121,    65,     0,
      73,   121,    63,    65,     0,   120,     0,   121,    63,   120,
       0,   123,     0,   168,    14,   123,     0,   171,     0,   122,
       0,   173,     0,    72,   143,    71,     0,    95,    72,   128,
      71,     0,   124,     0,   125,    47,     0,   125,    42,     0,
     125,    74,   167,     0,   125,    69,   143,    70,     0,   125,
      72,   126,    71,     0,     0,   127,     0,   143,     0,   127,
      63,   143,     0,   143,     0,   128,    63,   143,     0,   125,
       0,    47,   129,     0,    42,   129,     0,    75,   129,     0,
      76,   129,     0,    77,   129,     0,    78,   129,     0,   129,
       0,    72,    89,    71,   130,     0,   130,     0,   131,    79,
     130,     0,   131,    80,   130,     0,   131,    81,   130,     0,
     131,     0,   132,    75,   131,     0,   132,    76,   131,     0,
     132,     0,   133,    41,   132,     0,   133,    30,   132,     0,
     133,     0,   134,    67,   133,     0,   134,    68,   133,     0,
     134,    40,   133,     0,   134,    29,   133,     0,   134,     0,
     135,    20,   134,     0,   135,    43,   134,     0,   135,     0,
     136,    82,   135,     0,   136,     0,   137,    83,   136,     0,
     137,     0,   138,    84,   137,     0,   138,     0,   139,     3,
     138,     0,   139,     0,   140,    44,   139,     0,   140,     0,
     142,    85,   143,    66,   141,     0,   140,     0,   141,     0,
     145,   156,    65,     0,   145,    65,     0,    90,   111,    73,
       0,   147,     0,   148,     0,   153,     0,   149,     0,   158,
       0,   160,     0,   150,     0,   166,     0,   151,     0,   161,
       0,    18,    62,     0,    18,   143,    62,     0,   152,   147,
      21,   147,     0,   152,   146,     0,   152,   147,    21,   148,
       0,    33,    72,   162,    71,     0,   154,   156,   155,     0,
     154,   155,     0,    73,     0,    65,     0,   157,     0,   156,
     157,     0,    88,     0,   146,     0,   159,    62,     0,    62,
       0,   125,    64,   143,     0,   143,     0,   125,     5,   143,
       0,   125,     6,   143,     0,   125,     7,   143,     0,   125,
       8,   143,     0,   125,     9,   143,     0,    60,    72,   162,
      71,   147,     0,    19,   146,    60,    72,   162,    71,    62,
       0,    28,    72,   163,    62,   165,    62,   163,    71,   147,
       0,    60,    72,   162,    71,   148,     0,    28,    72,   163,
      62,   165,    62,   163,    71,   148,     0,   143,     0,   164,
       0,     0,   159,     0,   164,    63,   159,     0,   162,     0,
       0,    48,   143,    62,     0,    48,    62,     0,   172,     0,
     172,     0,   172,     0,    56,     0,   172,     0,    32,     0,
      38,     0,    13,     0,    25,     0,    26,     0,    27,     0
};

#endif

#if YYDEBUG
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
static const short yyrline[] =
{
       0,   245,   246,   253,   255,   258,   260,   262,   266,   273,
     275,   279,   282,   284,   286,   288,   290,   292,   296,   299,
     301,   303,   305,   307,   309,   313,   315,   319,   321,   329,
     331,   333,   335,   337,   339,   341,   343,   355,   363,   371,
     373,   381,   383,   391,   393,   395,   403,   406,   408,   412,
     416,   419,   423,   424,   427,   431,   432,   435,   454,   454,
     458,   460,   467,   469,   473,   475,   479,   481,   483,   485,
     487,   491,   495,   497,   499,   516,   518,   522,   524,   528,
     530,   533,   539,   552,   554,   556,   560,   562,   574,   576,
     580,   588,   589,   590,   592,   600,   601,   603,   605,   607,
     609,   613,   615,   618,   620,   624,   626,   634,   635,   637,
     639,   641,   643,   645,   653,   657,   665,   666,   668,   670,
     678,   679,   681,   689,   690,   692,   700,   701,   703,   705,
     707,   715,   716,   718,   726,   727,   735,   736,   744,   745,
     753,   754,   762,   763,   771,   772,   776,   784,   795,   797,
     801,   809,   810,   813,   814,   815,   816,   817,   818,   821,
     822,   829,   831,   839,   843,   845,   849,   857,   859,   863,
     867,   875,   876,   880,   881,   889,   890,   894,   896,   898,
     900,   902,   904,   906,   914,   916,   918,   922,   924,   928,
     933,   934,   938,   939,   953,   954,   962,   964,   972,   975,
     978,   981,   984,   987,   990,   992,   996,  1000,  1004
};
#endif


#if (YYDEBUG) || defined YYERROR_VERBOSE

/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */
static const char *const yytname[] =
{
  "$", "error", "$undefined.", "AND_SY", "ASM_SY", "ASSIGNMINUS_SY", 
  "ASSIGNMOD_SY", "ASSIGNPLUS_SY", "ASSIGNSLASH_SY", "ASSIGNSTAR_SY", 
  "BOOLEAN_SY", "BREAK_SY", "CASE_SY", "CFLOATCONST_SY", "COLONCOLON_SY", 
  "CONST_SY", "CONTINUE_SY", "DEFAULT_SY", "DISCARD_SY", "DO_SY", "EQ_SY", 
  "ELSE_SY", "ERROR_SY", "EXTERN_SY", "FLOAT_SY", "FLOATCONST_SY", 
  "FLOATHCONST_SY", "FLOATXCONST_SY", "FOR_SY", "GE_SY", "GG_SY", 
  "GOTO_SY", "IDENT_SY", "IF_SY", "IN_SY", "INLINE_SY", "INOUT_SY", 
  "INT_SY", "INTCONST_SY", "INTERNAL_SY", "LE_SY", "LL_SY", 
  "MINUSMINUS_SY", "NE_SY", "OR_SY", "OUT_SY", "PACKED_SY", "PLUSPLUS_SY", 
  "RETURN_SY", "STATIC_SY", "STRCONST_SY", "STRUCT_SY", "SWITCH_SY", 
  "TEXOBJ_SY", "THIS_SY", "TYPEDEF_SY", "TYPEIDENT_SY", "UNIFORM_SY", 
  "VARYING_SY", "VOID_SY", "WHILE_SY", "FIRST_USER_TOKEN_SY", "';'", 
  "','", "'='", "'}'", "':'", "'<'", "'>'", "'['", "']'", "')'", "'('", 
  "'{'", "'.'", "'+'", "'-'", "'!'", "'~'", "'*'", "'/'", "'%'", "'&'", 
  "'^'", "'|'", "'?'", "compilation_unit", "external_declaration", 
  "declaration", "abstract_declaration", "declaration_specifiers", 
  "abstract_declaration_specifiers", "abstract_declaration_specifiers2", 
  "init_declarator_list", "init_declarator", "type_specifier", 
  "type_qualifier", "type_domain", "storage_class", "function_specifier", 
  "in_out", "struct_or_connector_specifier", "struct_compound_header", 
  "struct_or_connector_header", "struct_identifier", 
  "untagged_struct_header", "struct_declaration_list", 
  "struct_declaration", "annotation", "@1", "annotation_decl_list", 
  "declarator", "semantic_declarator", "basic_declarator", 
  "function_decl_header", "abstract_declarator", "parameter_list", 
  "parameter_declaration", "abstract_parameter_list", 
  "non_empty_abstract_parameter_list", "initializer", "initializer_list", 
  "variable", "basic_variable", "primary_expression", 
  "postfix_expression", "actual_argument_list", "non_empty_argument_list", 
  "expression_list", "unary_expression", "cast_expression", 
  "multiplicative_expression", "additive_expression", "shift_expression", 
  "relational_expression", "equality_expression", "AND_expression", 
  "exclusive_OR_expression", "inclusive_OR_expression", 
  "logical_AND_expression", "logical_OR_expression", 
  "conditional_expression", "conditional_test", "expression", 
  "function_definition", "function_definition_header", "statement", 
  "balanced_statement", "dangling_statement", "discard_statement", 
  "if_statement", "dangling_if", "if_header", "compound_statement", 
  "compound_header", "compound_tail", "block_item_list", "block_item", 
  "expression_statement", "expression_statement2", "iteration_statement", 
  "dangling_iteration", "boolean_scalar_expression", "for_expression_opt", 
  "for_expression", "boolean_expression_opt", "return_statement", 
  "member_identifier", "scope_identifier", "semantics_identifier", 
  "type_identifier", "variable_identifier", "identifier", "constant", 0
};
#endif

/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
static const short yyr1[] =
{
       0,    86,    86,    87,    87,    88,    88,    88,    89,    90,
      90,    91,    91,    91,    91,    91,    91,    91,    92,    92,
      92,    92,    92,    92,    92,    93,    93,    94,    94,    95,
      95,    95,    95,    95,    95,    95,    95,    96,    97,    98,
      98,    99,    99,   100,   100,   100,   101,   101,   101,   102,
     103,   103,   104,   104,   105,   106,   106,   107,   109,   108,
     110,   110,   111,   111,   112,   112,   113,   113,   113,   113,
     113,   114,   115,   115,   115,   116,   116,   117,   117,   118,
     118,   119,   119,   120,   120,   120,   121,   121,   122,   122,
     123,   124,   124,   124,   124,   125,   125,   125,   125,   125,
     125,   126,   126,   127,   127,   128,   128,   129,   129,   129,
     129,   129,   129,   129,   130,   130,   131,   131,   131,   131,
     132,   132,   132,   133,   133,   133,   134,   134,   134,   134,
     134,   135,   135,   135,   136,   136,   137,   137,   138,   138,
     139,   139,   140,   140,   141,   141,   142,   143,   144,   144,
     145,   146,   146,   147,   147,   147,   147,   147,   147,   148,
     148,   149,   149,   150,   151,   151,   152,   153,   153,   154,
     155,   156,   156,   157,   157,   158,   158,   159,   159,   159,
     159,   159,   159,   159,   160,   160,   160,   161,   161,   162,
     163,   163,   164,   164,   165,   165,   166,   166,   167,   168,
     169,   170,   171,   172,   173,   173,   173,   173,   173
};

/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
static const short yyr2[] =
{
       0,     1,     2,     1,     1,     2,     3,     2,     2,     1,
       2,     1,     2,     2,     2,     2,     2,     2,     1,     2,
       2,     2,     2,     2,     2,     1,     3,     1,     3,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     4,     4,     1,     1,
       2,     4,     1,     1,     1,     1,     2,     1,     0,     4,
       0,     2,     1,     2,     1,     3,     1,     4,     3,     3,
       3,     2,     0,     4,     3,     1,     3,     2,     4,     0,
       1,     1,     3,     1,     3,     4,     1,     3,     1,     3,
       1,     1,     1,     3,     4,     1,     2,     2,     3,     4,
       4,     0,     1,     1,     3,     1,     3,     1,     2,     2,
       2,     2,     2,     2,     1,     4,     1,     3,     3,     3,
       1,     3,     3,     1,     3,     3,     1,     3,     3,     3,
       3,     1,     3,     3,     1,     3,     1,     3,     1,     3,
       1,     3,     1,     3,     1,     5,     1,     1,     3,     2,
       3,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     2,     3,     4,     2,     4,     4,     3,     2,     1,
       1,     1,     2,     1,     1,     2,     1,     3,     1,     3,
       3,     3,     3,     3,     5,     7,     9,     5,     9,     1,
       1,     0,     1,     3,     1,     0,     3,     2,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1
};

/* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE
   doesn't specify something else to do.  Zero means the default is an
   error. */
static const short yydefact[] =
{
       0,    36,    32,    37,     0,    40,    30,    43,    41,    45,
      29,    42,    44,     0,    39,    54,    33,     0,   201,    38,
      31,     0,     1,     3,     0,     9,    11,    18,     0,     0,
       0,     0,     0,    34,    48,     0,     4,     0,    35,     7,
      17,   203,    50,    53,    52,    10,     2,     5,     0,    25,
      27,    62,    64,     0,    66,    24,    19,    21,    20,    23,
      22,    12,    14,    13,    16,    15,   169,     0,    49,     0,
     205,     0,     0,   206,   207,   208,     0,     0,   204,     0,
       0,     0,     0,   176,   149,     0,     0,     0,     0,     0,
     173,     0,    18,    91,    88,    95,   107,   114,   116,   120,
     123,   126,   131,   134,   136,   138,   140,   142,   144,   147,
       0,   178,   174,   151,   152,   154,   157,   159,     0,   153,
       0,     0,   171,   155,     0,   156,   160,   158,     0,    90,
     202,    92,     0,     6,     0,     0,   150,    58,    63,     0,
       0,    71,    81,     0,    72,     0,    75,     0,    80,    57,
       0,    55,     0,   161,     0,   107,     0,     0,     0,     0,
       0,   109,   108,   197,     0,     0,     0,    72,     0,   110,
     111,   112,   113,    27,     0,     0,     0,     0,     0,     0,
      97,    96,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     0,     0,     0,   164,   151,   170,   168,     0,
     148,   172,   175,     0,    51,   200,    26,     0,    28,    83,
      60,    65,     0,    68,    77,     8,     0,    69,    70,     0,
      46,    56,    47,   162,     0,   192,     0,   190,   189,     0,
     196,     0,     0,    93,     0,   105,   179,   180,   181,   182,
     183,   177,     0,     0,   102,   103,    98,   198,   117,   118,
     119,   121,   122,   125,   124,   130,   129,   127,   128,   132,
     133,   135,   137,   139,   141,   143,     0,     0,   167,    89,
     202,    86,     0,     0,    67,     0,     0,    76,    82,     0,
       0,     0,   166,     0,   115,     0,    94,    99,   100,     0,
       0,   163,   165,     0,    84,    59,    61,    78,     0,    74,
       0,   194,     0,   193,   184,   187,   106,   104,   145,    85,
      87,    73,     0,     0,   185,     0,     0,   186,   188,     0,
       0
};

static const short yydefgoto[] =
{
      21,    22,    90,   142,    91,    25,    26,    48,    49,   154,
      28,    29,    30,    31,    32,    33,    67,    34,    42,    35,
     150,   151,   138,   220,   283,   173,    51,    52,    53,   225,
     145,   146,   147,   148,   218,   282,    93,    94,    95,   155,
     253,   254,   244,    97,    98,    99,   100,   101,   102,   103,
     104,   105,   106,   107,   108,   109,   110,   111,    36,    37,
     112,   113,   114,   115,   116,   117,   118,   119,   120,   208,
     121,   122,   123,   124,   125,   126,   239,   236,   237,   312,
     127,   256,   128,   214,    38,   129,   130,   131
};

static const short yypact[] =
{
    1238,-32768,-32768,-32768,   -44,-32768,-32768,-32768,-32768,-32768,
  -32768,-32768,-32768,  1312,-32768,     9,-32768,  1312,-32768,-32768,
  -32768,  1187,-32768,-32768,    13,-32768,  1339,-32768,  1312,  1312,
    1312,  1312,  1312,-32768,   -36,   -36,-32768,   292,-32768,-32768,
  -32768,-32768,   -45,-32768,-32768,-32768,-32768,-32768,    80,-32768,
     -20,   -24,    44,  1025,-32768,-32768,-32768,-32768,-32768,-32768,
  -32768,-32768,-32768,-32768,-32768,-32768,-32768,  1238,-32768,  1238,
  -32768,   644,   560,-32768,-32768,-32768,   -18,   -13,-32768,   938,
     938,   686,    17,-32768,-32768,   499,   938,   938,   938,   938,
  -32768,    13,    22,-32768,-32768,-32768,    55,-32768,-32768,    53,
      69,    16,    11,    29,    -9,    26,    33,   122,   -27,-32768,
      43,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   560,-32768,
     361,   430,-32768,-32768,    86,-32768,-32768,-32768,   121,-32768,
     136,-32768,   124,-32768,   124,   728,-32768,-32768,-32768,   124,
       4,-32768,-32768,   124,   131,    40,-32768,   100,   110,-32768,
    1076,-32768,  1127,-32768,    22,    46,   112,   116,   770,   980,
     980,-32768,-32768,-32768,   115,   980,   107,-32768,   114,-32768,
  -32768,-32768,-32768,   128,   980,   980,   980,   980,   980,   980,
  -32768,-32768,   980,   980,   812,   124,   980,   980,   980,   980,
     980,   980,   980,   980,   980,   980,   980,   980,   980,   980,
     980,   980,   980,   980,   980,-32768,   165,-32768,-32768,   361,
  -32768,-32768,-32768,   124,-32768,-32768,-32768,   728,-32768,-32768,
  -32768,-32768,   120,-32768,   129,   125,  1275,-32768,-32768,  1312,
  -32768,-32768,-32768,-32768,   123,-32768,   134,   135,-32768,   130,
  -32768,   132,   980,-32768,    41,-32768,-32768,-32768,-32768,-32768,
  -32768,-32768,   127,   133,   137,-32768,-32768,-32768,-32768,-32768,
  -32768,    53,    53,    69,    69,    16,    16,    16,    16,    11,
      11,    29,    -9,    26,    33,   122,   139,   560,-32768,-32768,
  -32768,-32768,    73,   224,-32768,   728,    10,-32768,-32768,   980,
     854,   980,-32768,   560,-32768,   980,-32768,-32768,-32768,   980,
     980,-32768,-32768,   602,-32768,-32768,-32768,-32768,   140,-32768,
     141,-32768,   144,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
  -32768,-32768,   145,   896,-32768,   142,   560,-32768,-32768,   199,
  -32768
};

static const short yypgoto[] =
{
  -32768,   181,     1,   -80,     3,    -3,-32768,-32768,    81,     2,
     188,   190,   191,   192,   193,-32768,   185,-32768,-32768,-32768,
     152,   -11,-32768,-32768,-32768,   -17,-32768,-32768,-32768,-32768,
  -32768,     6,-32768,-32768,  -208,-32768,-32768,    14,-32768,   -37,
  -32768,-32768,-32768,    12,  -175,   -43,   -33,   -88,   -30,    24,
      30,    32,    35,    38,-32768,   -65,-32768,     5,-32768,-32768,
     -52,  -102,  -241,-32768,-32768,-32768,-32768,-32768,   126,    34,
     118,  -113,-32768,  -154,-32768,-32768,  -159,   -81,-32768,-32768,
  -32768,-32768,-32768,   105,   230,-32768,    23,-32768
};


#define	YYLAST		1396


static const short yytable[] =
{
      96,    23,    27,    24,   235,   166,   241,    50,   211,   281,
      40,   258,   259,   260,    45,    27,   206,   203,    39,    27,
     157,   132,    23,    27,    24,    61,    62,    63,    64,    65,
      27,    27,    27,    27,    27,    96,   302,    66,    44,    92,
     193,    41,   222,   137,   135,    41,   191,    54,   308,   197,
     144,   194,   315,   136,   158,    27,   143,   192,  -146,   159,
     175,   176,   177,   178,   179,    18,   205,   294,   149,    27,
     149,    27,   198,   199,   223,    47,   156,   307,   195,   196,
     309,    96,   167,    96,    96,   328,   164,    92,   180,   165,
     168,   161,   162,   181,   174,   320,   211,   180,   169,   170,
     171,   172,   181,   226,   295,   265,   266,   267,   268,   200,
     139,   227,   296,   140,    54,   183,   141,   201,   184,   182,
     185,    96,    92,    92,   183,   202,   224,   184,   204,   185,
     310,   311,   186,   187,   188,   213,   303,   313,   304,   231,
     219,   231,   133,   134,   189,   190,   261,   262,   212,   288,
    -199,   149,    27,   149,    27,   215,    41,    54,   263,   264,
      68,    68,   215,    -9,   238,   168,    54,   269,   270,   235,
     238,   228,    96,   229,   233,   301,   234,   240,   242,   245,
     246,   247,   248,   249,   250,   243,   277,   251,   252,   255,
     284,   314,   135,   285,   286,   289,   290,   297,   291,   330,
     299,   292,    46,   293,   298,   300,   323,   324,   257,   276,
     321,    92,   322,   326,    56,   216,    57,    58,    59,    60,
      69,   152,   219,   271,   327,     1,   167,   279,    27,   143,
     272,    27,   287,   273,     2,   318,   280,   274,   209,     3,
      96,   275,   325,   278,   221,    43,     4,     5,     6,     0,
       0,     0,     0,     0,    96,     0,    96,     0,     7,     8,
       9,    10,     0,    11,     0,     0,     0,     0,     0,    12,
      13,     0,     0,    14,     0,    15,     0,    16,     0,    17,
      18,    19,     0,    20,   306,    27,    96,     0,     0,    96,
     219,     0,   305,     1,   238,   238,     0,     0,     0,     0,
     316,     0,     2,     0,   317,    70,     0,     3,   219,     0,
      71,    72,     0,     0,     4,     5,     6,    73,    74,    75,
      76,     0,     0,     0,    41,    77,     7,     8,     9,    10,
      78,    11,     0,     0,    79,     0,     0,    12,    13,    80,
      81,    14,     0,    15,     0,    16,     0,    17,    18,    19,
       0,    20,    82,     0,    83,     0,     0,    84,     0,     0,
       0,     0,     1,     0,    85,    66,     0,    86,    87,    88,
      89,     2,     0,     0,    70,     0,     3,     0,     0,    71,
      72,     0,     0,     4,     5,     6,    73,    74,    75,    76,
       0,     0,     0,    41,    77,     7,     8,     9,    10,    78,
      11,     0,     0,    79,     0,     0,    12,    13,    80,    81,
      14,     0,    15,     0,    16,     0,    17,    18,    19,     0,
      20,    82,     0,    83,     0,     0,   207,     0,     0,     0,
       0,     1,     0,    85,    66,     0,    86,    87,    88,    89,
       2,     0,     0,    70,     0,     3,     0,     0,    71,    72,
       0,     0,     4,     5,     6,    73,    74,    75,    76,     0,
       0,     0,    41,    77,     7,     8,     9,    10,    78,    11,
       0,     0,    79,     0,     0,    12,    13,    80,    81,    14,
       0,    15,     0,    16,     0,    17,    18,    19,     0,    20,
      82,     0,    83,     0,     0,   210,     0,     0,     0,     0,
       1,     0,    85,    66,     0,    86,    87,    88,    89,     2,
       0,     0,    70,     0,     3,     0,     0,     0,     0,     0,
       0,     0,     5,     6,    73,    74,    75,     0,     0,     0,
       0,    41,     0,     7,     8,     9,    10,    78,    11,     0,
       0,    79,     0,     0,    12,    13,    80,     0,    14,     0,
      15,     0,    16,     0,     0,    18,    19,     0,    20,     0,
       0,     1,     0,     0,     0,     0,     0,     0,     0,     0,
       2,    85,     0,    70,    86,    87,    88,    89,    71,    72,
       0,     0,     0,     0,     6,    73,    74,    75,    76,     0,
       0,     0,    41,    77,     0,     0,     0,    10,    78,     0,
       0,     0,    79,     1,     0,     0,     0,    80,    81,     0,
       0,    15,     2,    16,     0,    70,    18,     0,     0,    20,
      82,     0,    83,     0,     0,     0,     6,    73,    74,    75,
       0,     0,    85,    66,    41,    86,    87,    88,    89,    10,
      78,     0,     0,     0,    79,     1,     0,     0,     0,    80,
       0,     0,     0,    15,     2,    16,     0,    70,    18,     0,
       0,    20,     0,     0,     0,     0,     0,   319,     6,    73,
      74,    75,     0,     0,    85,   217,    41,    86,    87,    88,
      89,    10,    78,     0,     0,     0,    79,     1,     0,     0,
       0,    80,     0,     0,     0,    15,     2,    16,     0,    70,
      18,     0,     0,    20,     0,     0,   153,     0,     0,     0,
       6,    73,    74,    75,     0,     0,    85,     0,    41,    86,
      87,    88,    89,    10,    78,     0,     0,     0,    79,     1,
       0,     0,     0,    80,     0,     0,     0,    15,     2,    16,
       0,    70,    18,     0,     0,    20,     0,     0,   163,     0,
       0,     0,     6,    73,    74,    75,     0,     0,    85,     0,
      41,    86,    87,    88,    89,    10,    78,     0,     0,     0,
      79,     1,     0,     0,     0,    80,     0,     0,     0,    15,
       2,    16,     0,    70,    18,     0,     0,    20,     0,     0,
       0,     0,     0,     0,     6,    73,    74,    75,     0,     0,
      85,   217,    41,    86,    87,    88,    89,    10,    78,     0,
       0,     0,    79,     1,     0,     0,     0,    80,     0,     0,
       0,    15,     2,    16,     0,    70,    18,     0,     0,    20,
       0,     0,  -191,     0,     0,     0,     6,    73,    74,    75,
       0,     0,    85,     0,    41,    86,    87,    88,    89,    10,
      78,     0,     0,     0,    79,     1,     0,     0,     0,    80,
       0,     0,     0,    15,     2,    16,     0,    70,    18,     0,
       0,    20,     0,     0,     0,     0,     0,     0,     6,    73,
      74,    75,     0,  -101,    85,     0,    41,    86,    87,    88,
      89,    10,    78,     0,     0,     0,    79,     1,     0,     0,
       0,    80,     0,     0,     0,    15,     2,    16,     0,    70,
      18,     0,     0,    20,     0,     0,  -195,     0,     0,     0,
       6,    73,    74,    75,     0,     0,    85,     0,    41,    86,
      87,    88,    89,    10,    78,     0,     0,     0,    79,     1,
       0,     0,     0,    80,     0,     0,     0,    15,     2,    16,
       0,    70,    18,     0,     0,    20,     0,     0,     0,     0,
       0,     0,     6,    73,    74,    75,     0,  -191,    85,     0,
      41,    86,    87,    88,    89,    10,    78,     0,     0,     0,
      79,     1,     0,     0,     0,    80,     0,     0,     0,    15,
       2,    16,     0,    70,    18,     0,     0,    20,     0,     0,
       0,     0,     0,     0,     6,    73,    74,    75,     0,     0,
     160,     0,    41,    86,    87,    88,    89,    10,    78,     0,
       0,     0,    79,     0,     0,     0,     1,    80,     0,     0,
       0,    15,     0,    16,     0,     2,    18,     0,     0,    20,
       3,     0,     0,     0,     0,     0,     0,     0,     5,     6,
       0,     0,    85,     0,     0,    86,    87,    88,    89,     7,
       8,     9,    10,     0,    11,     0,     0,     0,     0,     0,
      12,    13,     0,     0,    14,     0,    15,     1,    16,     0,
      17,    18,    19,     0,    20,     0,     2,     0,     0,     0,
       0,     3,     0,     0,     0,     0,   -79,     0,     4,     5,
       6,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       7,     8,     9,    10,     0,    11,     0,     0,     0,     0,
       0,    12,    13,     0,     0,    14,     0,    15,     1,    16,
       0,    17,    18,    19,     0,    20,     0,     2,     0,     0,
       0,   230,     3,     0,     0,     0,     0,     0,     0,     4,
       5,     6,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     7,     8,     9,    10,     0,    11,     0,     0,     0,
       0,     0,    12,    13,     0,     0,    14,     0,    15,     0,
      16,     0,    17,    18,    19,     0,    20,   329,     1,     0,
       0,     0,   232,     0,     0,     0,     0,     2,     0,     0,
       0,     0,     3,     0,     0,     0,     0,     0,     0,     4,
       5,     6,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     7,     8,     9,    10,     0,    11,     0,     0,     0,
       0,     0,    12,    13,     0,     0,    14,     0,    15,     1,
      16,     0,    17,    18,    19,     0,    20,     0,     2,     0,
       0,     0,     0,     3,     0,     0,     0,     0,     0,     0,
       4,     5,     6,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     7,     8,     9,    10,     1,    11,     0,     0,
       0,     0,     0,    12,    13,     2,     0,    14,     0,    15,
       3,    16,     0,    17,    18,    19,     0,    20,     5,     6,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     7,
       8,     9,    10,     1,    11,     0,     0,     0,     0,     0,
      12,    13,     2,     0,    14,     0,    15,     3,    16,     0,
      17,    18,    19,     0,    20,     5,     6,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     7,     8,     9,    10,
       0,    11,     0,     0,     3,     0,     0,    12,    13,     0,
       0,    14,     5,    15,     0,    16,     0,     0,    18,    19,
       0,    20,     0,     7,     8,     9,     0,     0,    11,     0,
       0,     0,     0,     0,    12,    55,     0,     0,    14,     0,
       0,     0,     0,     0,     0,     0,    19
};

static const short yycheck[] =
{
      37,     0,     0,     0,   158,    85,   165,    24,   121,   217,
      13,   186,   187,   188,    17,    13,   118,    44,    62,    17,
      72,    66,    21,    21,    21,    28,    29,    30,    31,    32,
      28,    29,    30,    31,    32,    72,   277,    73,    15,    37,
      29,    32,    38,    67,    64,    32,    30,    24,    38,    20,
      53,    40,   293,    73,    72,    53,    53,    41,    85,    72,
       5,     6,     7,     8,     9,    56,   118,   242,    67,    67,
      69,    69,    43,    82,    70,    62,    71,   285,    67,    68,
      70,   118,    85,   120,   121,   326,    81,    85,    42,    72,
      85,    79,    80,    47,    72,   303,   209,    42,    86,    87,
      88,    89,    47,    63,    63,   193,   194,   195,   196,    83,
      66,    71,    71,    69,    91,    69,    72,    84,    72,    64,
      74,   158,   120,   121,    69,     3,   143,    72,    85,    74,
     289,   290,    79,    80,    81,    14,    63,   291,    65,   150,
     135,   152,    62,    63,    75,    76,   189,   190,    62,   229,
      14,   150,   150,   152,   152,   132,    32,   134,   191,   192,
      34,    35,   139,    32,   159,   160,   143,   197,   198,   323,
     165,    71,   209,    63,    62,   277,    60,    62,    71,   174,
     175,   176,   177,   178,   179,    71,    21,   182,   183,   184,
      70,   293,    64,    64,    69,    72,    62,    70,    63,     0,
      63,    71,    21,    71,    71,    66,    62,    62,   185,   204,
      70,   209,    71,    71,    26,   134,    26,    26,    26,    26,
      35,    69,   217,   199,   326,     1,   229,   213,   226,   226,
     200,   229,   226,   201,    10,   300,   213,   202,   120,    15,
     277,   203,   323,   209,   139,    15,    22,    23,    24,    -1,
      -1,    -1,    -1,    -1,   291,    -1,   293,    -1,    34,    35,
      36,    37,    -1,    39,    -1,    -1,    -1,    -1,    -1,    45,
      46,    -1,    -1,    49,    -1,    51,    -1,    53,    -1,    55,
      56,    57,    -1,    59,   283,   283,   323,    -1,    -1,   326,
     285,    -1,    68,     1,   289,   290,    -1,    -1,    -1,    -1,
     295,    -1,    10,    -1,   299,    13,    -1,    15,   303,    -1,
      18,    19,    -1,    -1,    22,    23,    24,    25,    26,    27,
      28,    -1,    -1,    -1,    32,    33,    34,    35,    36,    37,
      38,    39,    -1,    -1,    42,    -1,    -1,    45,    46,    47,
      48,    49,    -1,    51,    -1,    53,    -1,    55,    56,    57,
      -1,    59,    60,    -1,    62,    -1,    -1,    65,    -1,    -1,
      -1,    -1,     1,    -1,    72,    73,    -1,    75,    76,    77,
      78,    10,    -1,    -1,    13,    -1,    15,    -1,    -1,    18,
      19,    -1,    -1,    22,    23,    24,    25,    26,    27,    28,
      -1,    -1,    -1,    32,    33,    34,    35,    36,    37,    38,
      39,    -1,    -1,    42,    -1,    -1,    45,    46,    47,    48,
      49,    -1,    51,    -1,    53,    -1,    55,    56,    57,    -1,
      59,    60,    -1,    62,    -1,    -1,    65,    -1,    -1,    -1,
      -1,     1,    -1,    72,    73,    -1,    75,    76,    77,    78,
      10,    -1,    -1,    13,    -1,    15,    -1,    -1,    18,    19,
      -1,    -1,    22,    23,    24,    25,    26,    27,    28,    -1,
      -1,    -1,    32,    33,    34,    35,    36,    37,    38,    39,
      -1,    -1,    42,    -1,    -1,    45,    46,    47,    48,    49,
      -1,    51,    -1,    53,    -1,    55,    56,    57,    -1,    59,
      60,    -1,    62,    -1,    -1,    65,    -1,    -1,    -1,    -1,
       1,    -1,    72,    73,    -1,    75,    76,    77,    78,    10,
      -1,    -1,    13,    -1,    15,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    23,    24,    25,    26,    27,    -1,    -1,    -1,
      -1,    32,    -1,    34,    35,    36,    37,    38,    39,    -1,
      -1,    42,    -1,    -1,    45,    46,    47,    -1,    49,    -1,
      51,    -1,    53,    -1,    -1,    56,    57,    -1,    59,    -1,
      -1,     1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      10,    72,    -1,    13,    75,    76,    77,    78,    18,    19,
      -1,    -1,    -1,    -1,    24,    25,    26,    27,    28,    -1,
      -1,    -1,    32,    33,    -1,    -1,    -1,    37,    38,    -1,
      -1,    -1,    42,     1,    -1,    -1,    -1,    47,    48,    -1,
      -1,    51,    10,    53,    -1,    13,    56,    -1,    -1,    59,
      60,    -1,    62,    -1,    -1,    -1,    24,    25,    26,    27,
      -1,    -1,    72,    73,    32,    75,    76,    77,    78,    37,
      38,    -1,    -1,    -1,    42,     1,    -1,    -1,    -1,    47,
      -1,    -1,    -1,    51,    10,    53,    -1,    13,    56,    -1,
      -1,    59,    -1,    -1,    -1,    -1,    -1,    65,    24,    25,
      26,    27,    -1,    -1,    72,    73,    32,    75,    76,    77,
      78,    37,    38,    -1,    -1,    -1,    42,     1,    -1,    -1,
      -1,    47,    -1,    -1,    -1,    51,    10,    53,    -1,    13,
      56,    -1,    -1,    59,    -1,    -1,    62,    -1,    -1,    -1,
      24,    25,    26,    27,    -1,    -1,    72,    -1,    32,    75,
      76,    77,    78,    37,    38,    -1,    -1,    -1,    42,     1,
      -1,    -1,    -1,    47,    -1,    -1,    -1,    51,    10,    53,
      -1,    13,    56,    -1,    -1,    59,    -1,    -1,    62,    -1,
      -1,    -1,    24,    25,    26,    27,    -1,    -1,    72,    -1,
      32,    75,    76,    77,    78,    37,    38,    -1,    -1,    -1,
      42,     1,    -1,    -1,    -1,    47,    -1,    -1,    -1,    51,
      10,    53,    -1,    13,    56,    -1,    -1,    59,    -1,    -1,
      -1,    -1,    -1,    -1,    24,    25,    26,    27,    -1,    -1,
      72,    73,    32,    75,    76,    77,    78,    37,    38,    -1,
      -1,    -1,    42,     1,    -1,    -1,    -1,    47,    -1,    -1,
      -1,    51,    10,    53,    -1,    13,    56,    -1,    -1,    59,
      -1,    -1,    62,    -1,    -1,    -1,    24,    25,    26,    27,
      -1,    -1,    72,    -1,    32,    75,    76,    77,    78,    37,
      38,    -1,    -1,    -1,    42,     1,    -1,    -1,    -1,    47,
      -1,    -1,    -1,    51,    10,    53,    -1,    13,    56,    -1,
      -1,    59,    -1,    -1,    -1,    -1,    -1,    -1,    24,    25,
      26,    27,    -1,    71,    72,    -1,    32,    75,    76,    77,
      78,    37,    38,    -1,    -1,    -1,    42,     1,    -1,    -1,
      -1,    47,    -1,    -1,    -1,    51,    10,    53,    -1,    13,
      56,    -1,    -1,    59,    -1,    -1,    62,    -1,    -1,    -1,
      24,    25,    26,    27,    -1,    -1,    72,    -1,    32,    75,
      76,    77,    78,    37,    38,    -1,    -1,    -1,    42,     1,
      -1,    -1,    -1,    47,    -1,    -1,    -1,    51,    10,    53,
      -1,    13,    56,    -1,    -1,    59,    -1,    -1,    -1,    -1,
      -1,    -1,    24,    25,    26,    27,    -1,    71,    72,    -1,
      32,    75,    76,    77,    78,    37,    38,    -1,    -1,    -1,
      42,     1,    -1,    -1,    -1,    47,    -1,    -1,    -1,    51,
      10,    53,    -1,    13,    56,    -1,    -1,    59,    -1,    -1,
      -1,    -1,    -1,    -1,    24,    25,    26,    27,    -1,    -1,
      72,    -1,    32,    75,    76,    77,    78,    37,    38,    -1,
      -1,    -1,    42,    -1,    -1,    -1,     1,    47,    -1,    -1,
      -1,    51,    -1,    53,    -1,    10,    56,    -1,    -1,    59,
      15,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    23,    24,
      -1,    -1,    72,    -1,    -1,    75,    76,    77,    78,    34,
      35,    36,    37,    -1,    39,    -1,    -1,    -1,    -1,    -1,
      45,    46,    -1,    -1,    49,    -1,    51,     1,    53,    -1,
      55,    56,    57,    -1,    59,    -1,    10,    -1,    -1,    -1,
      -1,    15,    -1,    -1,    -1,    -1,    71,    -1,    22,    23,
      24,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      34,    35,    36,    37,    -1,    39,    -1,    -1,    -1,    -1,
      -1,    45,    46,    -1,    -1,    49,    -1,    51,     1,    53,
      -1,    55,    56,    57,    -1,    59,    -1,    10,    -1,    -1,
      -1,    65,    15,    -1,    -1,    -1,    -1,    -1,    -1,    22,
      23,    24,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    34,    35,    36,    37,    -1,    39,    -1,    -1,    -1,
      -1,    -1,    45,    46,    -1,    -1,    49,    -1,    51,    -1,
      53,    -1,    55,    56,    57,    -1,    59,     0,     1,    -1,
      -1,    -1,    65,    -1,    -1,    -1,    -1,    10,    -1,    -1,
      -1,    -1,    15,    -1,    -1,    -1,    -1,    -1,    -1,    22,
      23,    24,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    34,    35,    36,    37,    -1,    39,    -1,    -1,    -1,
      -1,    -1,    45,    46,    -1,    -1,    49,    -1,    51,     1,
      53,    -1,    55,    56,    57,    -1,    59,    -1,    10,    -1,
      -1,    -1,    -1,    15,    -1,    -1,    -1,    -1,    -1,    -1,
      22,    23,    24,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
      -1,    -1,    34,    35,    36,    37,     1,    39,    -1,    -1,
      -1,    -1,    -1,    45,    46,    10,    -1,    49,    -1,    51,
      15,    53,    -1,    55,    56,    57,    -1,    59,    23,    24,
      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    34,
      35,    36,    37,     1,    39,    -1,    -1,    -1,    -1,    -1,
      45,    46,    10,    -1,    49,    -1,    51,    15,    53,    -1,
      55,    56,    57,    -1,    59,    23,    24,    -1,    -1,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    34,    35,    36,    37,
      -1,    39,    -1,    -1,    15,    -1,    -1,    45,    46,    -1,
      -1,    49,    23,    51,    -1,    53,    -1,    -1,    56,    57,
      -1,    59,    -1,    34,    35,    36,    -1,    -1,    39,    -1,
      -1,    -1,    -1,    -1,    45,    46,    -1,    -1,    49,    -1,
      -1,    -1,    -1,    -1,    -1,    -1,    57
};
/* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */
#line 3 "/usr/share/bison/bison.simple"

/* Skeleton output parser for bison,

   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software
   Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */

/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */

/* This is the parser code that is written into each bison parser when
   the %semantic_parser declaration is not specified in the grammar.
   It was written by Richard Stallman by simplifying the hairy parser
   used when %semantic_parser is specified.  */

/* All symbols defined below should begin with yy or YY, to avoid
   infringing on user name space.  This should be done even for local
   variables, as they might otherwise be expanded by user macros.
   There are some unavoidable exceptions within include files to
   define necessary library symbols; they are noted "INFRINGES ON
   USER NAME SPACE" below.  */

#if ! defined (yyoverflow) || defined (YYERROR_VERBOSE)

/* The parser invokes alloca or malloc; define the necessary symbols.  */

# if YYSTACK_USE_ALLOCA
#  define YYSTACK_ALLOC alloca
# else
#  ifndef YYSTACK_USE_ALLOCA
#   if defined (alloca) || defined (_ALLOCA_H)
#    define YYSTACK_ALLOC alloca
#   else
#    ifdef __GNUC__
#     define YYSTACK_ALLOC __builtin_alloca
#    endif
#   endif
#  endif
# endif

# ifdef YYSTACK_ALLOC
   /* Pacify GCC's `empty if-body' warning. */
#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
# else
#  if defined (__STDC__) || defined (__cplusplus)
#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
#   define YYSIZE_T size_t
#  endif
#  define YYSTACK_ALLOC malloc
#  define YYSTACK_FREE free
# endif
#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */


#if (! defined (yyoverflow) \
     && (! defined (__cplusplus) \
	 || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))

/* A type that is properly aligned for any stack member.  */
union yyalloc
{
  short yyss;
  YYSTYPE yyvs;
# if YYLSP_NEEDED
  YYLTYPE yyls;
# endif
};

/* The size of the maximum gap between one aligned stack and the next.  */
# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)

/* The size of an array large to enough to hold all stacks, each with
   N elements.  */
# if YYLSP_NEEDED
#  define YYSTACK_BYTES(N) \
     ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE))	\
      + 2 * YYSTACK_GAP_MAX)
# else
#  define YYSTACK_BYTES(N) \
     ((N) * (sizeof (short) + sizeof (YYSTYPE))				\
      + YYSTACK_GAP_MAX)
# endif

/* Copy COUNT objects from FROM to TO.  The source and destination do
   not overlap.  */
# ifndef YYCOPY
#  if 1 < __GNUC__
#   define YYCOPY(To, From, Count) \
      __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
#  else
#   define YYCOPY(To, From, Count)		\
      do					\
	{					\
	  register YYSIZE_T yyi;		\
	  for (yyi = 0; yyi < (Count); yyi++)	\
	    (To)[yyi] = (From)[yyi];		\
	}					\
      while (0)
#  endif
# endif

/* Relocate STACK from its old location to the new one.  The
   local variables YYSIZE and YYSTACKSIZE give the old and new number of
   elements in the stack, and YYPTR gives the new location of the
   stack.  Advance YYPTR to a properly aligned location for the next
   stack.  */
# define YYSTACK_RELOCATE(Stack)					\
    do									\
      {									\
	YYSIZE_T yynewbytes;						\
	YYCOPY (&yyptr->Stack, Stack, yysize);				\
	Stack = &yyptr->Stack;						\
	yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX;	\
	yyptr += yynewbytes / sizeof (*yyptr);				\
      }									\
    while (0)

#endif


#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
# define YYSIZE_T __SIZE_TYPE__
#endif
#if ! defined (YYSIZE_T) && defined (size_t)
# define YYSIZE_T size_t
#endif
#if ! defined (YYSIZE_T)
# if defined (__STDC__) || defined (__cplusplus)
#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
#  define YYSIZE_T size_t
# endif
#endif
#if ! defined (YYSIZE_T)
# define YYSIZE_T unsigned int
#endif

#define yyerrok		(yyerrstatus = 0)
#define yyclearin	(yychar = YYEMPTY)
#define YYEMPTY		-2
#define YYEOF		0
#define YYACCEPT	goto yyacceptlab
#define YYABORT 	goto yyabortlab
#define YYERROR		goto yyerrlab1
/* Like YYERROR except do call yyerror.  This remains here temporarily
   to ease the transition to the new meaning of YYERROR, for GCC.
   Once GCC version 2 has supplanted version 1, this can go.  */
#define YYFAIL		goto yyerrlab
#define YYRECOVERING()  (!!yyerrstatus)
#define YYBACKUP(Token, Value)					\
do								\
  if (yychar == YYEMPTY && yylen == 1)				\
    {								\
      yychar = (Token);						\
      yylval = (Value);						\
      yychar1 = YYTRANSLATE (yychar);				\
      YYPOPSTACK;						\
      goto yybackup;						\
    }								\
  else								\
    { 								\
      yyerror ("syntax error: cannot back up");			\
      YYERROR;							\
    }								\
while (0)

#define YYTERROR	1
#define YYERRCODE	256


/* YYLLOC_DEFAULT -- Compute the default location (before the actions
   are run).

   When YYLLOC_DEFAULT is run, CURRENT is set the location of the
   first token.  By default, to implement support for ranges, extend
   its range to the last symbol.  */

#ifndef YYLLOC_DEFAULT
# define YYLLOC_DEFAULT(Current, Rhs, N)       	\
   Current.last_line   = Rhs[N].last_line;	\
   Current.last_column = Rhs[N].last_column;
#endif


/* YYLEX -- calling `yylex' with the right arguments.  */

#if YYPURE
# if YYLSP_NEEDED
#  ifdef YYLEX_PARAM
#   define YYLEX		yylex (&yylval, &yylloc, YYLEX_PARAM)
#  else
#   define YYLEX		yylex (&yylval, &yylloc)
#  endif
# else /* !YYLSP_NEEDED */
#  ifdef YYLEX_PARAM
#   define YYLEX		yylex (&yylval, YYLEX_PARAM)
#  else
#   define YYLEX		yylex (&yylval)
#  endif
# endif /* !YYLSP_NEEDED */
#else /* !YYPURE */
# define YYLEX			yylex ()
#endif /* !YYPURE */


/* Enable debugging if requested.  */
#if YYDEBUG

# ifndef YYFPRINTF
#  include <stdio.h> /* INFRINGES ON USER NAME SPACE */
#  define YYFPRINTF fprintf
# endif

# define YYDPRINTF(Args)			\
do {						\
  if (yydebug)					\
    YYFPRINTF Args;				\
} while (0)
/* Nonzero means print parse trace.  It is left uninitialized so that
   multiple parsers can coexist.  */
int yydebug;
#else /* !YYDEBUG */
# define YYDPRINTF(Args)
#endif /* !YYDEBUG */

/* YYINITDEPTH -- initial size of the parser's stacks.  */
#ifndef	YYINITDEPTH
# define YYINITDEPTH 200
#endif

/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
   if the built-in stack extension method is used).

   Do not make this value too large; the results are undefined if
   SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
   evaluated with infinite-precision integer arithmetic.  */

#if YYMAXDEPTH == 0
# undef YYMAXDEPTH
#endif

#ifndef YYMAXDEPTH
# define YYMAXDEPTH 10000
#endif

#ifdef YYERROR_VERBOSE

# ifndef yystrlen
#  if defined (__GLIBC__) && defined (_STRING_H)
#   define yystrlen strlen
#  else
/* Return the length of YYSTR.  */
static YYSIZE_T
#   if defined (__STDC__) || defined (__cplusplus)
yystrlen (const char *yystr)
#   else
yystrlen (yystr)
     const char *yystr;
#   endif
{
  register const char *yys = yystr;

  while (*yys++ != '\0')
    continue;

  return yys - yystr - 1;
}
#  endif
# endif

# ifndef yystpcpy
#  if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
#   define yystpcpy stpcpy
#  else
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
   YYDEST.  */
static char *
#   if defined (__STDC__) || defined (__cplusplus)
yystpcpy (char *yydest, const char *yysrc)
#   else
yystpcpy (yydest, yysrc)
     char *yydest;
     const char *yysrc;
#   endif
{
  register char *yyd = yydest;
  register const char *yys = yysrc;

  while ((*yyd++ = *yys++) != '\0')
    continue;

  return yyd - 1;
}
#  endif
# endif
#endif

#line 315 "/usr/share/bison/bison.simple"


/* The user can define YYPARSE_PARAM as the name of an argument to be passed
   into yyparse.  The argument should have type void *.
   It should actually point to an object.
   Grammar actions can access the variable by casting it
   to the proper pointer type.  */

#ifdef YYPARSE_PARAM
# if defined (__STDC__) || defined (__cplusplus)
#  define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
#  define YYPARSE_PARAM_DECL
# else
#  define YYPARSE_PARAM_ARG YYPARSE_PARAM
#  define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
# endif
#else /* !YYPARSE_PARAM */
# define YYPARSE_PARAM_ARG
# define YYPARSE_PARAM_DECL
#endif /* !YYPARSE_PARAM */

/* Prevent warning if -Wstrict-prototypes.  */
#ifdef __GNUC__
# ifdef YYPARSE_PARAM
int yyparse (void *);
# else
int yyparse (void);
# endif
#endif

/* YY_DECL_VARIABLES -- depending whether we use a pure parser,
   variables are global, or local to YYPARSE.  */

#define YY_DECL_NON_LSP_VARIABLES			\
/* The lookahead symbol.  */				\
int yychar;						\
							\
/* The semantic value of the lookahead symbol. */	\
YYSTYPE yylval;						\
							\
/* Number of parse errors so far.  */			\
int yynerrs;

#if YYLSP_NEEDED
# define YY_DECL_VARIABLES			\
YY_DECL_NON_LSP_VARIABLES			\
						\
/* Location data for the lookahead symbol.  */	\
YYLTYPE yylloc;
#else
# define YY_DECL_VARIABLES			\
YY_DECL_NON_LSP_VARIABLES
#endif


/* If nonreentrant, generate the variables here. */

#if !YYPURE
YY_DECL_VARIABLES
#endif  /* !YYPURE */

int
yyparse (YYPARSE_PARAM_ARG)
     YYPARSE_PARAM_DECL
{
  /* If reentrant, generate the variables here. */
#if YYPURE
  YY_DECL_VARIABLES
#endif  /* !YYPURE */

  register int yystate;
  register int yyn;
  int yyresult;
  /* Number of tokens to shift before error messages enabled.  */
  int yyerrstatus;
  /* Lookahead token as an internal (translated) token number.  */
  int yychar1 = 0;

  /* Three stacks and their tools:
     `yyss': related to states,
     `yyvs': related to semantic values,
     `yyls': related to locations.

     Refer to the stacks thru separate pointers, to allow yyoverflow
     to reallocate them elsewhere.  */

  /* The state stack. */
  short	yyssa[YYINITDEPTH];
  short *yyss = yyssa;
  register short *yyssp;

  /* The semantic value stack.  */
  YYSTYPE yyvsa[YYINITDEPTH];
  YYSTYPE *yyvs = yyvsa;
  register YYSTYPE *yyvsp;

#if YYLSP_NEEDED
  /* The location stack.  */
  YYLTYPE yylsa[YYINITDEPTH];
  YYLTYPE *yyls = yylsa;
  YYLTYPE *yylsp;
#endif

#if YYLSP_NEEDED
# define YYPOPSTACK   (yyvsp--, yyssp--, yylsp--)
#else
# define YYPOPSTACK   (yyvsp--, yyssp--)
#endif

  YYSIZE_T yystacksize = YYINITDEPTH;


  /* The variables used to return semantic value and location from the
     action routines.  */
  YYSTYPE yyval;
#if YYLSP_NEEDED
  YYLTYPE yyloc;
#endif

  /* When reducing, the number of symbols on the RHS of the reduced
     rule. */
  int yylen;

  YYDPRINTF ((stderr, "Starting parse\n"));

  yystate = 0;
  yyerrstatus = 0;
  yynerrs = 0;
  yychar = YYEMPTY;		/* Cause a token to be read.  */

  /* Initialize stack pointers.
     Waste one element of value and location stack
     so that they stay on the same level as the state stack.
     The wasted elements are never initialized.  */

  yyssp = yyss;
  yyvsp = yyvs;
#if YYLSP_NEEDED
  yylsp = yyls;
#endif
  goto yysetstate;

/*------------------------------------------------------------.
| yynewstate -- Push a new state, which is found in yystate.  |
`------------------------------------------------------------*/
 yynewstate:
  /* In all cases, when you get here, the value and location stacks
     have just been pushed. so pushing a state here evens the stacks.
     */
  yyssp++;

 yysetstate:
  *yyssp = yystate;

  if (yyssp >= yyss + yystacksize - 1)
    {
      /* Get the current used size of the three stacks, in elements.  */
      YYSIZE_T yysize = yyssp - yyss + 1;

#ifdef yyoverflow
      {
	/* Give user a chance to reallocate the stack. Use copies of
	   these so that the &'s don't force the real ones into
	   memory.  */
	YYSTYPE *yyvs1 = yyvs;
	short *yyss1 = yyss;

	/* Each stack pointer address is followed by the size of the
	   data in use in that stack, in bytes.  */
# if YYLSP_NEEDED
	YYLTYPE *yyls1 = yyls;
	/* This used to be a conditional around just the two extra args,
	   but that might be undefined if yyoverflow is a macro.  */
	yyoverflow ("parser stack overflow",
		    &yyss1, yysize * sizeof (*yyssp),
		    &yyvs1, yysize * sizeof (*yyvsp),
		    &yyls1, yysize * sizeof (*yylsp),
		    &yystacksize);
	yyls = yyls1;
# else
	yyoverflow ("parser stack overflow",
		    &yyss1, yysize * sizeof (*yyssp),
		    &yyvs1, yysize * sizeof (*yyvsp),
		    &yystacksize);
# endif
	yyss = yyss1;
	yyvs = yyvs1;
      }
#else /* no yyoverflow */
# ifndef YYSTACK_RELOCATE
      goto yyoverflowlab;
# else
      /* Extend the stack our own way.  */
      if (yystacksize >= YYMAXDEPTH)
	goto yyoverflowlab;
      yystacksize *= 2;
      if (yystacksize > YYMAXDEPTH)
	yystacksize = YYMAXDEPTH;

      {
	short *yyss1 = yyss;
	union yyalloc *yyptr =
	  (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
	if (! yyptr)
	  goto yyoverflowlab;
	YYSTACK_RELOCATE (yyss);
	YYSTACK_RELOCATE (yyvs);
# if YYLSP_NEEDED
	YYSTACK_RELOCATE (yyls);
# endif
# undef YYSTACK_RELOCATE
	if (yyss1 != yyssa)
	  YYSTACK_FREE (yyss1);
      }
# endif
#endif /* no yyoverflow */

      yyssp = yyss + yysize - 1;
      yyvsp = yyvs + yysize - 1;
#if YYLSP_NEEDED
      yylsp = yyls + yysize - 1;
#endif

      YYDPRINTF ((stderr, "Stack size increased to %lu\n",
		  (unsigned long int) yystacksize));

      if (yyssp >= yyss + yystacksize - 1)
	YYABORT;
    }

  YYDPRINTF ((stderr, "Entering state %d\n", yystate));

  goto yybackup;


/*-----------.
| yybackup.  |
`-----------*/
yybackup:

/* Do appropriate processing given the current state.  */
/* Read a lookahead token if we need one and don't already have one.  */
/* yyresume: */

  /* First try to decide what to do without reference to lookahead token.  */

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    goto yydefault;

  /* Not known => get a lookahead token if don't already have one.  */

  /* yychar is either YYEMPTY or YYEOF
     or a valid token in external form.  */

  if (yychar == YYEMPTY)
    {
      YYDPRINTF ((stderr, "Reading a token: "));
      yychar = YYLEX;
    }

  /* Convert token to internal form (in yychar1) for indexing tables with */

  if (yychar <= 0)		/* This means end of input. */
    {
      yychar1 = 0;
      yychar = YYEOF;		/* Don't call YYLEX any more */

      YYDPRINTF ((stderr, "Now at end of input.\n"));
    }
  else
    {
      yychar1 = YYTRANSLATE (yychar);

#if YYDEBUG
     /* We have to keep this `#if YYDEBUG', since we use variables
	which are defined only if `YYDEBUG' is set.  */
      if (yydebug)
	{
	  YYFPRINTF (stderr, "Next token is %d (%s",
		     yychar, yytname[yychar1]);
	  /* Give the individual parser a way to print the precise
	     meaning of a token, for further debugging info.  */
# ifdef YYPRINT
	  YYPRINT (stderr, yychar, yylval);
# endif
	  YYFPRINTF (stderr, ")\n");
	}
#endif
    }

  yyn += yychar1;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
    goto yydefault;

  yyn = yytable[yyn];

  /* yyn is what to do for this token type in this state.
     Negative => reduce, -yyn is rule number.
     Positive => shift, yyn is new state.
       New state is final state => don't bother to shift,
       just return success.
     0, or most negative number => error.  */

  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	goto yyerrlab;
      yyn = -yyn;
      goto yyreduce;
    }
  else if (yyn == 0)
    goto yyerrlab;

  if (yyn == YYFINAL)
    YYACCEPT;

  /* Shift the lookahead token.  */
  YYDPRINTF ((stderr, "Shifting token %d (%s), ",
	      yychar, yytname[yychar1]));

  /* Discard the token being shifted unless it is eof.  */
  if (yychar != YYEOF)
    yychar = YYEMPTY;

  *++yyvsp = yylval;
#if YYLSP_NEEDED
  *++yylsp = yylloc;
#endif

  /* Count tokens shifted since error; after three, turn off error
     status.  */
  if (yyerrstatus)
    yyerrstatus--;

  yystate = yyn;
  goto yynewstate;


/*-----------------------------------------------------------.
| yydefault -- do the default action for the current state.  |
`-----------------------------------------------------------*/
yydefault:
  yyn = yydefact[yystate];
  if (yyn == 0)
    goto yyerrlab;
  goto yyreduce;


/*-----------------------------.
| yyreduce -- Do a reduction.  |
`-----------------------------*/
yyreduce:
  /* yyn is the number of a rule to reduce with.  */
  yylen = yyr2[yyn];

  /* If YYLEN is nonzero, implement the default value of the action:
     `$$ = $1'.

     Otherwise, the following line sets YYVAL to the semantic value of
     the lookahead token.  This behavior is undocumented and Bison
     users should not rely upon it.  Assigning to YYVAL
     unconditionally makes the parser a bit smaller, and it avoids a
     GCC warning that YYVAL may be used uninitialized.  */
  yyval = yyvsp[1-yylen];

#if YYLSP_NEEDED
  /* Similarly for the default location.  Let the user run additional
     commands if for instance locations are ranges.  */
  yyloc = yylsp[1-yylen];
  YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen);
#endif

#if YYDEBUG
  /* We have to keep this `#if YYDEBUG', since we use variables which
     are defined only if `YYDEBUG' is set.  */
  if (yydebug)
    {
      int yyi;

      YYFPRINTF (stderr, "Reducing via rule %d (line %d), ",
		 yyn, yyrline[yyn]);

      /* Print the symbols being reduced, and their result.  */
      for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++)
	YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]);
      YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]);
    }
#endif

  switch (yyn) {

case 3:
#line 254 "parser.y"
{ yyval.dummy = GlobalInitStatements(CurrentScope, yyvsp[0].sc_stmt); ;
    break;}
case 5:
#line 259 "parser.y"
{ yyval.sc_stmt = NULL; ;
    break;}
case 6:
#line 261 "parser.y"
{ yyval.sc_stmt = yyvsp[-1].sc_stmt; ;
    break;}
case 7:
#line 263 "parser.y"
{ RecordErrorPos(Cg->tokenLoc); yyval.sc_stmt = NULL; ;
    break;}
case 8:
#line 267 "parser.y"
{ yyval.sc_decl = yyvsp[0].sc_decl; ;
    break;}
case 9:
#line 274 "parser.y"
{ yyval.sc_type = yyvsp[0].sc_type; ;
    break;}
case 10:
#line 276 "parser.y"
{ SetTypeMisc(Cg->tokenLoc, &CurrentDeclTypeSpecs, TYPE_MISC_TYPEDEF); yyval.sc_type = yyvsp[0].sc_type; ;
    break;}
case 11:
#line 281 "parser.y"
{ yyval.sc_type = yyvsp[0].sc_type; ;
    break;}
case 12:
#line 283 "parser.y"
{ SetTypeQualifiers(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[-1].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 13:
#line 285 "parser.y"
{ SetStorageClass(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[-1].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 14:
#line 287 "parser.y"
{ SetTypeDomain(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[-1].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 15:
#line 289 "parser.y"
{ SetTypeQualifiers(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[-1].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 16:
#line 291 "parser.y"
{ SetTypeMisc(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[-1].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 17:
#line 293 "parser.y"
{ SetTypePacked(Cg->tokenLoc, &CurrentDeclTypeSpecs); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 18:
#line 298 "parser.y"
{ yyval.sc_type = *SetDType(&CurrentDeclTypeSpecs, yyvsp[0].sc_ptype); ;
    break;}
case 19:
#line 300 "parser.y"
{ SetTypeQualifiers(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[0].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 20:
#line 302 "parser.y"
{ SetStorageClass(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[0].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 21:
#line 304 "parser.y"
{ SetTypeDomain(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[0].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 22:
#line 306 "parser.y"
{ SetTypeQualifiers(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[0].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 23:
#line 308 "parser.y"
{ SetTypeMisc(Cg->tokenLoc, &CurrentDeclTypeSpecs, yyvsp[0].sc_int); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 24:
#line 310 "parser.y"
{ SetTypePacked(Cg->tokenLoc, &CurrentDeclTypeSpecs); yyval.sc_type = CurrentDeclTypeSpecs; ;
    break;}
case 25:
#line 314 "parser.y"
{ yyval.sc_stmt = yyvsp[0].sc_stmt; ;
    break;}
case 26:
#line 316 "parser.y"
{ yyval.sc_stmt = AddStmt(yyvsp[-2].sc_stmt, yyvsp[0].sc_stmt); ;
    break;}
case 27:
#line 320 "parser.y"
{ yyval.sc_stmt = Init_Declarator(Cg->tokenLoc, CurrentScope, yyvsp[0].sc_decl, NULL); ;
    break;}
case 28:
#line 322 "parser.y"
{ yyval.sc_stmt = Init_Declarator(Cg->tokenLoc, CurrentScope, yyvsp[-2].sc_decl, yyvsp[0].sc_expr); ;
    break;}
case 29:
#line 330 "parser.y"
{ yyval.sc_ptype = LookUpTypeSymbol(NULL, INT_SY); ;
    break;}
case 30:
#line 332 "parser.y"
{ yyval.sc_ptype = LookUpTypeSymbol(NULL, FLOAT_SY); ;
    break;}
case 31:
#line 334 "parser.y"
{ yyval.sc_ptype = LookUpTypeSymbol(NULL, VOID_SY); ;
    break;}
case 32:
#line 336 "parser.y"
{ yyval.sc_ptype = LookUpTypeSymbol(NULL, BOOLEAN_SY); ;
    break;}
case 33:
#line 338 "parser.y"
{ yyval.sc_ptype = LookUpTypeSymbol(NULL, TEXOBJ_SY); ;
    break;}
case 34:
#line 340 "parser.y"
{ yyval.sc_ptype = yyvsp[0].sc_ptype; ;
    break;}
case 35:
#line 342 "parser.y"
{ yyval.sc_ptype = LookUpTypeSymbol(NULL, yyvsp[0].sc_ident); ;
    break;}
case 36:
#line 344 "parser.y"
{ 
                                SemanticParseError(Cg->tokenLoc, ERROR_S_TYPE_NAME_EXPECTED,
                                                   GetAtomString(atable, Cg->mostRecentToken /* yychar */));
                                yyval.sc_ptype = UndefinedType;
                              ;
    break;}
case 37:
#line 356 "parser.y"
{ yyval.sc_int = TYPE_QUALIFIER_CONST; ;
    break;}
case 38:
#line 364 "parser.y"
{ yyval.sc_int = TYPE_DOMAIN_UNIFORM; ;
    break;}
case 39:
#line 372 "parser.y"
{ yyval.sc_int = (int) SC_STATIC; ;
    break;}
case 40:
#line 374 "parser.y"
{ yyval.sc_int = (int) SC_EXTERN; ;
    break;}
case 41:
#line 382 "parser.y"
{ yyval.sc_int = TYPE_MISC_INLINE; ;
    break;}
case 42:
#line 384 "parser.y"
{ yyval.sc_int = TYPE_MISC_INTERNAL; ;
    break;}
case 43:
#line 392 "parser.y"
{ yyval.sc_int = TYPE_QUALIFIER_IN; ;
    break;}
case 44:
#line 394 "parser.y"
{ yyval.sc_int = TYPE_QUALIFIER_OUT; ;
    break;}
case 45:
#line 396 "parser.y"
{ yyval.sc_int = TYPE_QUALIFIER_INOUT; ;
    break;}
case 46:
#line 405 "parser.y"
{ yyval.sc_ptype = SetStructMembers(Cg->tokenLoc, yyvsp[-3].sc_ptype, PopScope()); ;
    break;}
case 47:
#line 407 "parser.y"
{ yyval.sc_ptype = SetStructMembers(Cg->tokenLoc, yyvsp[-3].sc_ptype, PopScope()); ;
    break;}
case 48:
#line 409 "parser.y"
{ yyval.sc_ptype = yyvsp[0].sc_ptype; ;
    break;}
case 49:
#line 413 "parser.y"
{ CurrentScope->IsStructScope = 1; yyval.dummy = yyvsp[0].dummy; ;
    break;}
case 50:
#line 418 "parser.y"
{ yyval.sc_ptype = StructHeader(Cg->tokenLoc, CurrentScope, 0, yyvsp[0].sc_ident); ;
    break;}
case 51:
#line 420 "parser.y"
{ yyval.sc_ptype = StructHeader(Cg->tokenLoc, CurrentScope, yyvsp[0].sc_ident, yyvsp[-2].sc_ident); ;
    break;}
case 54:
#line 428 "parser.y"
{ yyval.sc_ptype = StructHeader(Cg->tokenLoc, CurrentScope, 0, 0); ;
    break;}
case 57:
#line 436 "parser.y"
{ yyval.sc_stmt = yyvsp[0].sc_stmt; ;
    break;}
case 58:
#line 454 "parser.y"
{ PushScope(NewScope()); ;
    break;}
case 59:
#line 455 "parser.y"
{ yyval.sc_stmt = yyvsp[-1].sc_stmt; PopScope(); ;
    break;}
case 60:
#line 459 "parser.y"
{ yyval.sc_stmt = 0; ;
    break;}
case 62:
#line 468 "parser.y"
{ yyval.sc_decl = yyvsp[0].sc_decl; ;
    break;}
case 63:
#line 470 "parser.y"
{ yyval.sc_decl = yyvsp[-1].sc_decl; ;
    break;}
case 64:
#line 474 "parser.y"
{ yyval.sc_decl = Declarator(Cg->tokenLoc, yyvsp[0].sc_decl, 0); ;
    break;}
case 65:
#line 476 "parser.y"
{ yyval.sc_decl = Declarator(Cg->tokenLoc, yyvsp[-2].sc_decl, yyvsp[0].sc_ident); ;
    break;}
case 66:
#line 480 "parser.y"
{ yyval.sc_decl = NewDeclNode(Cg->tokenLoc, yyvsp[0].sc_ident, &CurrentDeclTypeSpecs); ;
    break;}
case 67:
#line 482 "parser.y"
{ yyval.sc_decl = Array_Declarator(Cg->tokenLoc, yyvsp[-3].sc_decl, yyvsp[-1].sc_int, 0); ;
    break;}
case 68:
#line 484 "parser.y"
{ yyval.sc_decl = Array_Declarator(Cg->tokenLoc, yyvsp[-2].sc_decl, 0 , 1); ;
    break;}
case 69:
#line 486 "parser.y"
{ yyval.sc_decl = SetFunTypeParams(CurrentScope, yyvsp[-2].sc_decl, yyvsp[-1].sc_decl, yyvsp[-1].sc_decl); ;
    break;}
case 70:
#line 488 "parser.y"
{ yyval.sc_decl = SetFunTypeParams(CurrentScope, yyvsp[-2].sc_decl, yyvsp[-1].sc_decl, NULL); ;
    break;}
case 71:
#line 492 "parser.y"
{ yyval.sc_decl = FunctionDeclHeader(&yyvsp[-1].sc_decl->loc, CurrentScope, yyvsp[-1].sc_decl); ;
    break;}
case 72:
#line 496 "parser.y"
{ yyval.sc_decl = NewDeclNode(Cg->tokenLoc, 0, &CurrentDeclTypeSpecs); ;
    break;}
case 73:
#line 498 "parser.y"
{ yyval.sc_decl = Array_Declarator(Cg->tokenLoc, yyvsp[-3].sc_decl, yyvsp[-1].sc_int, 0); ;
    break;}
case 74:
#line 500 "parser.y"
{ yyval.sc_decl = Array_Declarator(Cg->tokenLoc, yyvsp[-2].sc_decl, 0 , 1); ;
    break;}
case 75:
#line 517 "parser.y"
{ yyval.sc_decl = yyvsp[0].sc_decl; ;
    break;}
case 76:
#line 519 "parser.y"
{ yyval.sc_decl = AddDecl(yyvsp[-2].sc_decl, yyvsp[0].sc_decl); ;
    break;}
case 77:
#line 523 "parser.y"
{ yyval.sc_decl = Param_Init_Declarator(Cg->tokenLoc, CurrentScope, yyvsp[0].sc_decl, NULL); ;
    break;}
case 78:
#line 525 "parser.y"
{ yyval.sc_decl = Param_Init_Declarator(Cg->tokenLoc, CurrentScope, yyvsp[-2].sc_decl, yyvsp[0].sc_expr); ;
    break;}
case 79:
#line 529 "parser.y"
{ yyval.sc_decl = NULL; ;
    break;}
case 81:
#line 534 "parser.y"
{
                                if (IsVoid(&yyvsp[0].sc_decl->type.type))
                                    CurrentScope->HasVoidParameter = 1;
                                yyval.sc_decl = yyvsp[0].sc_decl;
                              ;
    break;}
case 82:
#line 540 "parser.y"
{
                                if (CurrentScope->HasVoidParameter || IsVoid(&yyvsp[-2].sc_decl->type.type)) {
                                    SemanticError(Cg->tokenLoc, ERROR___VOID_NOT_ONLY_PARAM);
                                }
                                yyval.sc_decl = AddDecl(yyvsp[-2].sc_decl, yyvsp[0].sc_decl);
                              ;
    break;}
case 83:
#line 553 "parser.y"
{ yyval.sc_expr = Initializer(Cg->tokenLoc, yyvsp[0].sc_expr); ;
    break;}
case 84:
#line 555 "parser.y"
{ yyval.sc_expr = Initializer(Cg->tokenLoc, yyvsp[-1].sc_expr); ;
    break;}
case 85:
#line 557 "parser.y"
{ yyval.sc_expr = Initializer(Cg->tokenLoc, yyvsp[-2].sc_expr); ;
    break;}
case 86:
#line 561 "parser.y"
{ yyval.sc_expr = InitializerList(Cg->tokenLoc, yyvsp[0].sc_expr, NULL); ;
    break;}
case 87:
#line 563 "parser.y"
{ yyval.sc_expr = InitializerList(Cg->tokenLoc, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 88:
#line 575 "parser.y"
{ yyval.sc_expr = yyvsp[0].sc_expr; ;
    break;}
case 89:
#line 577 "parser.y"
{ yyval.sc_expr = yyvsp[0].sc_expr; ;
    break;}
case 90:
#line 581 "parser.y"
{ yyval.sc_expr = BasicVariable(Cg->tokenLoc, yyvsp[0].sc_ident); ;
    break;}
case 93:
#line 591 "parser.y"
{ yyval.sc_expr = yyvsp[-1].sc_expr; ;
    break;}
case 94:
#line 593 "parser.y"
{ yyval.sc_expr = NewVectorConstructor(Cg->tokenLoc, yyvsp[-3].sc_ptype, yyvsp[-1].sc_expr); ;
    break;}
case 96:
#line 602 "parser.y"
{ yyval.sc_expr = (expr *) NewUnopNode(POSTINC_OP, yyvsp[-1].sc_expr); ;
    break;}
case 97:
#line 604 "parser.y"
{ yyval.sc_expr = (expr *) NewUnopNode(POSTDEC_OP, yyvsp[-1].sc_expr); ;
    break;}
case 98:
#line 606 "parser.y"
{ yyval.sc_expr = NewMemberSelectorOrSwizzleOrWriteMaskOperator(Cg->tokenLoc, yyvsp[-2].sc_expr, yyvsp[0].sc_ident); ;
    break;}
case 99:
#line 608 "parser.y"
{ yyval.sc_expr = NewIndexOperator(Cg->tokenLoc, yyvsp[-3].sc_expr, yyvsp[-1].sc_expr); ;
    break;}
case 100:
#line 610 "parser.y"
{ yyval.sc_expr = NewFunctionCallOperator(Cg->tokenLoc, yyvsp[-3].sc_expr, yyvsp[-1].sc_expr); ;
    break;}
case 101:
#line 614 "parser.y"
{ yyval.sc_expr = NULL; ;
    break;}
case 103:
#line 619 "parser.y"
{ yyval.sc_expr = ArgumentList(Cg->tokenLoc, NULL, yyvsp[0].sc_expr); ;
    break;}
case 104:
#line 621 "parser.y"
{ yyval.sc_expr = ArgumentList(Cg->tokenLoc, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 105:
#line 625 "parser.y"
{ yyval.sc_expr = ExpressionList(Cg->tokenLoc, NULL, yyvsp[0].sc_expr); ;
    break;}
case 106:
#line 627 "parser.y"
{ yyval.sc_expr = ExpressionList(Cg->tokenLoc, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 108:
#line 636 "parser.y"
{ yyval.sc_expr = (expr *) NewUnopNode(PREINC_OP, yyvsp[0].sc_expr); ;
    break;}
case 109:
#line 638 "parser.y"
{ yyval.sc_expr = (expr *) NewUnopNode(PREDEC_OP, yyvsp[0].sc_expr); ;
    break;}
case 110:
#line 640 "parser.y"
{ yyval.sc_expr = NewUnaryOperator(Cg->tokenLoc, POS_OP, '+', yyvsp[0].sc_expr, 0); ;
    break;}
case 111:
#line 642 "parser.y"
{ yyval.sc_expr = NewUnaryOperator(Cg->tokenLoc, NEG_OP, '-', yyvsp[0].sc_expr, 0); ;
    break;}
case 112:
#line 644 "parser.y"
{ yyval.sc_expr = NewUnaryOperator(Cg->tokenLoc, BNOT_OP, '!', yyvsp[0].sc_expr, 0); ;
    break;}
case 113:
#line 646 "parser.y"
{ yyval.sc_expr = NewUnaryOperator(Cg->tokenLoc, NOT_OP, '~', yyvsp[0].sc_expr, 1); ;
    break;}
case 115:
#line 658 "parser.y"
{ yyval.sc_expr = NewCastOperator(Cg->tokenLoc, yyvsp[0].sc_expr, GetTypePointer(&yyvsp[-2].sc_decl->loc, &yyvsp[-2].sc_decl->type)); ;
    break;}
case 117:
#line 667 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, MUL_OP, '*', yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 0); ;
    break;}
case 118:
#line 669 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, DIV_OP, '/', yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 0); ;
    break;}
case 119:
#line 671 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, MOD_OP, '%', yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 1); ;
    break;}
case 121:
#line 680 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, ADD_OP, '+', yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 0); ;
    break;}
case 122:
#line 682 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, SUB_OP, '-', yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 0); ;
    break;}
case 124:
#line 691 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, SHL_OP, LL_SY, yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 1); ;
    break;}
case 125:
#line 693 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, SHR_OP, GG_SY, yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 1); ;
    break;}
case 127:
#line 702 "parser.y"
{ yyval.sc_expr = NewBinaryComparisonOperator(Cg->tokenLoc, LT_OP, '<', yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 128:
#line 704 "parser.y"
{ yyval.sc_expr = NewBinaryComparisonOperator(Cg->tokenLoc, GT_OP, '>', yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 129:
#line 706 "parser.y"
{ yyval.sc_expr = NewBinaryComparisonOperator(Cg->tokenLoc, LE_OP, LE_SY, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 130:
#line 708 "parser.y"
{ yyval.sc_expr = NewBinaryComparisonOperator(Cg->tokenLoc, GE_OP, GE_SY, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 132:
#line 717 "parser.y"
{ yyval.sc_expr = NewBinaryComparisonOperator(Cg->tokenLoc, EQ_OP, EQ_SY, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 133:
#line 719 "parser.y"
{ yyval.sc_expr = NewBinaryComparisonOperator(Cg->tokenLoc, NE_OP, NE_SY, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 135:
#line 728 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, AND_OP, '&', yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 1); ;
    break;}
case 137:
#line 737 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, XOR_OP, '^', yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 1); ;
    break;}
case 139:
#line 746 "parser.y"
{ yyval.sc_expr = NewBinaryOperator(Cg->tokenLoc, OR_OP, '|', yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 1); ;
    break;}
case 141:
#line 755 "parser.y"
{ yyval.sc_expr = NewBinaryBooleanOperator(Cg->tokenLoc, BAND_OP, AND_SY, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 143:
#line 764 "parser.y"
{ yyval.sc_expr = NewBinaryBooleanOperator(Cg->tokenLoc, BOR_OP, OR_SY, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 145:
#line 773 "parser.y"
{ yyval.sc_expr = NewConditionalOperator(Cg->tokenLoc, yyvsp[-4].sc_expr, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 146:
#line 777 "parser.y"
{  yyval.sc_expr = CheckBooleanExpr(Cg->tokenLoc, yyvsp[0].sc_expr, 1); ;
    break;}
case 148:
#line 796 "parser.y"
{ DefineFunction(Cg->tokenLoc, CurrentScope, yyvsp[-2].sc_decl, yyvsp[-1].sc_stmt); PopScope(); ;
    break;}
case 149:
#line 798 "parser.y"
{ DefineFunction(Cg->tokenLoc, CurrentScope, yyvsp[-1].sc_decl, NULL); PopScope(); ;
    break;}
case 150:
#line 802 "parser.y"
{ yyval.sc_decl = Function_Definition_Header(Cg->tokenLoc, yyvsp[-1].sc_decl); ;
    break;}
case 161:
#line 830 "parser.y"
{ yyval.sc_stmt = (stmt *) NewDiscardStmt(Cg->tokenLoc, NULL); ;
    break;}
case 162:
#line 832 "parser.y"
{ yyval.sc_stmt = (stmt *) NewDiscardStmt(Cg->tokenLoc, CheckBooleanExpr(Cg->tokenLoc, yyvsp[-1].sc_expr, 1)); ;
    break;}
case 163:
#line 840 "parser.y"
{ yyval.sc_stmt = (stmt *) SetThenElseStmts(Cg->tokenLoc, yyvsp[-3].sc_stmt, yyvsp[-2].sc_stmt, yyvsp[0].sc_stmt); ;
    break;}
case 164:
#line 844 "parser.y"
{ yyval.sc_stmt = (stmt *) SetThenElseStmts(Cg->tokenLoc, yyvsp[-1].sc_stmt, yyvsp[0].sc_stmt, NULL); ;
    break;}
case 165:
#line 846 "parser.y"
{ yyval.sc_stmt = (stmt *) SetThenElseStmts(Cg->tokenLoc, yyvsp[-3].sc_stmt, yyvsp[-2].sc_stmt, yyvsp[0].sc_stmt); ;
    break;}
case 166:
#line 850 "parser.y"
{ yyval.sc_stmt = (stmt *) NewIfStmt(Cg->tokenLoc, yyvsp[-1].sc_expr, NULL, NULL); ; ;
    break;}
case 167:
#line 858 "parser.y"
{ yyval.sc_stmt = (stmt *) NewBlockStmt(Cg->tokenLoc, yyvsp[-1].sc_stmt); ;
    break;}
case 168:
#line 860 "parser.y"
{ yyval.sc_stmt = NULL; ;
    break;}
case 169:
#line 864 "parser.y"
{ PushScope(NewScope()); CurrentScope->funindex = NextFunctionIndex; ;
    break;}
case 170:
#line 868 "parser.y"
{
                                if (Cg->options.DumpParseTree)
                                    PrintScopeDeclarations();
                                PopScope();
                              ;
    break;}
case 172:
#line 877 "parser.y"
{ yyval.sc_stmt = AddStmt(yyvsp[-1].sc_stmt, yyvsp[0].sc_stmt); ;
    break;}
case 174:
#line 882 "parser.y"
{ yyval.sc_stmt = CheckStmt(yyvsp[0].sc_stmt); ;
    break;}
case 176:
#line 891 "parser.y"
{ yyval.sc_stmt = NULL; ;
    break;}
case 177:
#line 895 "parser.y"
{ yyval.sc_stmt = NewSimpleAssignmentStmt(Cg->tokenLoc, yyvsp[-2].sc_expr, yyvsp[0].sc_expr, 0); ;
    break;}
case 178:
#line 897 "parser.y"
{ yyval.sc_stmt = (stmt *) NewExprStmt(Cg->tokenLoc, yyvsp[0].sc_expr); ;
    break;}
case 179:
#line 899 "parser.y"
{ yyval.sc_stmt = NewCompoundAssignmentStmt(Cg->tokenLoc, ASSIGNMINUS_OP, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 180:
#line 901 "parser.y"
{ yyval.sc_stmt = NewCompoundAssignmentStmt(Cg->tokenLoc, ASSIGNMOD_OP, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 181:
#line 903 "parser.y"
{ yyval.sc_stmt = NewCompoundAssignmentStmt(Cg->tokenLoc, ASSIGNPLUS_OP, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 182:
#line 905 "parser.y"
{ yyval.sc_stmt = NewCompoundAssignmentStmt(Cg->tokenLoc, ASSIGNSLASH_OP, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 183:
#line 907 "parser.y"
{ yyval.sc_stmt = NewCompoundAssignmentStmt(Cg->tokenLoc, ASSIGNSTAR_OP, yyvsp[-2].sc_expr, yyvsp[0].sc_expr); ;
    break;}
case 184:
#line 915 "parser.y"
{ yyval.sc_stmt = (stmt *) NewWhileStmt(Cg->tokenLoc, WHILE_STMT, yyvsp[-2].sc_expr, yyvsp[0].sc_stmt); ;
    break;}
case 185:
#line 917 "parser.y"
{ yyval.sc_stmt = (stmt *) NewWhileStmt(Cg->tokenLoc, DO_STMT, yyvsp[-2].sc_expr, yyvsp[-5].sc_stmt); ;
    break;}
case 186:
#line 919 "parser.y"
{ yyval.sc_stmt = (stmt *) NewForStmt(Cg->tokenLoc, yyvsp[-6].sc_stmt, yyvsp[-4].sc_expr, yyvsp[-2].sc_stmt, yyvsp[0].sc_stmt); ;
    break;}
case 187:
#line 923 "parser.y"
{ yyval.sc_stmt = (stmt *) NewWhileStmt(Cg->tokenLoc, WHILE_STMT, yyvsp[-2].sc_expr, yyvsp[0].sc_stmt); ;
    break;}
case 188:
#line 925 "parser.y"
{ yyval.sc_stmt = (stmt *) NewForStmt(Cg->tokenLoc, yyvsp[-6].sc_stmt, yyvsp[-4].sc_expr, yyvsp[-2].sc_stmt, yyvsp[0].sc_stmt); ;
    break;}
case 189:
#line 930 "parser.y"
{  yyval.sc_expr = CheckBooleanExpr(Cg->tokenLoc, yyvsp[0].sc_expr, 0); ;
    break;}
case 191:
#line 935 "parser.y"
{ yyval.sc_stmt = NULL; ;
    break;}
case 193:
#line 940 "parser.y"
{
                                stmt *lstmt = yyvsp[-2].sc_stmt;
                                if (lstmt) {
                                    while (lstmt->exprst.next)
                                        lstmt = lstmt->exprst.next;
                                    lstmt->exprst.next = yyvsp[0].sc_stmt;
                                    yyval.sc_stmt = yyvsp[-2].sc_stmt;
                                } else {
                                    yyval.sc_stmt = yyvsp[0].sc_stmt;
                                }
                              ;
    break;}
case 195:
#line 955 "parser.y"
{ yyval.sc_expr = NULL; ;
    break;}
case 196:
#line 963 "parser.y"
{ yyval.sc_stmt = (stmt *) NewReturnStmt(Cg->tokenLoc, CurrentScope, yyvsp[-1].sc_expr); ;
    break;}
case 197:
#line 965 "parser.y"
{ yyval.sc_stmt = (stmt *) NewReturnStmt(Cg->tokenLoc, CurrentScope, NULL); ;
    break;}
case 204:
#line 991 "parser.y"
{ yyval.sc_expr = (expr *) NewIConstNode(ICONST_OP, yyvsp[0].sc_int, TYPE_BASE_CINT); ;
    break;}
case 205:
#line 993 "parser.y"
{ int base = Cg->theHAL->GetFloatSuffixBase(Cg->tokenLoc, ' ');
                                yyval.sc_expr = (expr *) NewFConstNode(FCONST_OP, yyvsp[0].sc_fval, base);
                              ;
    break;}
case 206:
#line 997 "parser.y"
{ int base = Cg->theHAL->GetFloatSuffixBase(Cg->tokenLoc, 'f');
                                yyval.sc_expr = (expr *) NewFConstNode(FCONST_OP, yyvsp[0].sc_fval, base);
                              ;
    break;}
case 207:
#line 1001 "parser.y"
{ int base = Cg->theHAL->GetFloatSuffixBase(Cg->tokenLoc, 'h');
                                yyval.sc_expr = (expr *) NewFConstNode(FCONST_OP, yyvsp[0].sc_fval, base);
                              ;
    break;}
case 208:
#line 1005 "parser.y"
{int base = Cg->theHAL->GetFloatSuffixBase(Cg->tokenLoc, 'x');
                                yyval.sc_expr = (expr *) NewFConstNode(FCONST_OP, yyvsp[0].sc_fval, base);
                              ;
    break;}
}

#line 705 "/usr/share/bison/bison.simple"


  yyvsp -= yylen;
  yyssp -= yylen;
#if YYLSP_NEEDED
  yylsp -= yylen;
#endif

#if YYDEBUG
  if (yydebug)
    {
      short *yyssp1 = yyss - 1;
      YYFPRINTF (stderr, "state stack now");
      while (yyssp1 != yyssp)
	YYFPRINTF (stderr, " %d", *++yyssp1);
      YYFPRINTF (stderr, "\n");
    }
#endif

  *++yyvsp = yyval;
#if YYLSP_NEEDED
  *++yylsp = yyloc;
#endif

  /* Now `shift' the result of the reduction.  Determine what state
     that goes to, based on the state we popped back to and the rule
     number reduced by.  */

  yyn = yyr1[yyn];

  yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
  if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
    yystate = yytable[yystate];
  else
    yystate = yydefgoto[yyn - YYNTBASE];

  goto yynewstate;


/*------------------------------------.
| yyerrlab -- here on detecting error |
`------------------------------------*/
yyerrlab:
  /* If not already recovering from an error, report this error.  */
  if (!yyerrstatus)
    {
      ++yynerrs;

#ifdef YYERROR_VERBOSE
      yyn = yypact[yystate];

      if (yyn > YYFLAG && yyn < YYLAST)
	{
	  YYSIZE_T yysize = 0;
	  char *yymsg;
	  int yyx, yycount;

	  yycount = 0;
	  /* Start YYX at -YYN if negative to avoid negative indexes in
	     YYCHECK.  */
	  for (yyx = yyn < 0 ? -yyn : 0;
	       yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++)
	    if (yycheck[yyx + yyn] == yyx)
	      yysize += yystrlen (yytname[yyx]) + 15, yycount++;
	  yysize += yystrlen ("parse error, unexpected ") + 1;
	  yysize += yystrlen (yytname[YYTRANSLATE (yychar)]);
	  yymsg = (char *) YYSTACK_ALLOC (yysize);
	  if (yymsg != 0)
	    {
	      char *yyp = yystpcpy (yymsg, "parse error, unexpected ");
	      yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]);

	      if (yycount < 5)
		{
		  yycount = 0;
		  for (yyx = yyn < 0 ? -yyn : 0;
		       yyx < (int) (sizeof (yytname) / sizeof (char *));
		       yyx++)
		    if (yycheck[yyx + yyn] == yyx)
		      {
			const char *yyq = ! yycount ? ", expecting " : " or ";
			yyp = yystpcpy (yyp, yyq);
			yyp = yystpcpy (yyp, yytname[yyx]);
			yycount++;
		      }
		}
	      yyerror (yymsg);
	      YYSTACK_FREE (yymsg);
	    }
	  else
	    yyerror ("parse error; also virtual memory exhausted");
	}
      else
#endif /* defined (YYERROR_VERBOSE) */
	yyerror ("parse error");
    }
  goto yyerrlab1;


/*--------------------------------------------------.
| yyerrlab1 -- error raised explicitly by an action |
`--------------------------------------------------*/
yyerrlab1:
  if (yyerrstatus == 3)
    {
      /* If just tried and failed to reuse lookahead token after an
	 error, discard it.  */

      /* return failure if at end of input */
      if (yychar == YYEOF)
	YYABORT;
      YYDPRINTF ((stderr, "Discarding token %d (%s).\n",
		  yychar, yytname[yychar1]));
      yychar = YYEMPTY;
    }

  /* Else will try to reuse lookahead token after shifting the error
     token.  */

  yyerrstatus = 3;		/* Each real token shifted decrements this */

  goto yyerrhandle;


/*-------------------------------------------------------------------.
| yyerrdefault -- current state does not do anything special for the |
| error token.                                                       |
`-------------------------------------------------------------------*/
yyerrdefault:
#if 0
  /* This is wrong; only states that explicitly want error tokens
     should shift them.  */

  /* If its default is to accept any token, ok.  Otherwise pop it.  */
  yyn = yydefact[yystate];
  if (yyn)
    goto yydefault;
#endif


/*---------------------------------------------------------------.
| yyerrpop -- pop the current state because it cannot handle the |
| error token                                                    |
`---------------------------------------------------------------*/
yyerrpop:
  if (yyssp == yyss)
    YYABORT;
  yyvsp--;
  yystate = *--yyssp;
#if YYLSP_NEEDED
  yylsp--;
#endif

#if YYDEBUG
  if (yydebug)
    {
      short *yyssp1 = yyss - 1;
      YYFPRINTF (stderr, "Error: state stack now");
      while (yyssp1 != yyssp)
	YYFPRINTF (stderr, " %d", *++yyssp1);
      YYFPRINTF (stderr, "\n");
    }
#endif

/*--------------.
| yyerrhandle.  |
`--------------*/
yyerrhandle:
  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    goto yyerrdefault;

  yyn += YYTERROR;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
    goto yyerrdefault;

  yyn = yytable[yyn];
  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	goto yyerrpop;
      yyn = -yyn;
      goto yyreduce;
    }
  else if (yyn == 0)
    goto yyerrpop;

  if (yyn == YYFINAL)
    YYACCEPT;

  YYDPRINTF ((stderr, "Shifting error token, "));

  *++yyvsp = yylval;
#if YYLSP_NEEDED
  *++yylsp = yylloc;
#endif

  yystate = yyn;
  goto yynewstate;


/*-------------------------------------.
| yyacceptlab -- YYACCEPT comes here.  |
`-------------------------------------*/
yyacceptlab:
  yyresult = 0;
  goto yyreturn;

/*-----------------------------------.
| yyabortlab -- YYABORT comes here.  |
`-----------------------------------*/
yyabortlab:
  yyresult = 1;
  goto yyreturn;

/*---------------------------------------------.
| yyoverflowab -- parser overflow comes here.  |
`---------------------------------------------*/
yyoverflowlab:
  yyerror ("parser stack overflow");
  yyresult = 2;
  /* Fall through.  */

yyreturn:
#ifndef yyoverflow
  if (yyss != yyssa)
    YYSTACK_FREE (yyss);
#endif
  return yyresult;
}
#line 1021 "parser.y"


